package com.ts.base.config;

import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class CustomException extends RuntimeException {

    private String code;

    private String msg;

    public CustomException (String code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
